/**
 * 
 */
package instant.mail;


/**
 * @author qiangli
 *
 */
public interface AudioRecorder {

	int getMaxAmplitude();

	void setAudioSource(int mic);

	void setOutputFormat(String mimeType);

	void setAudioEncoder(int enc);
	
	void setSampleRate(int hz);

	void setOutputFile(String absolutePath);

	void prepare() throws Exception;

	void reset();

	void release();

	void start();

	void stop();

	int getBitRate();

}
